package com.lizhenhua.timeoutcancel.fallback;

import com.lizhenhua.fmmall.entity.Orders;
import com.lizhenhua.timeoutcancel.feignClient.UpdateOrderStatusFeignClient;
import org.springframework.stereotype.Component;

@Component
public class UpdateOrderStatusFallback implements UpdateOrderStatusFeignClient {
    @Override
    public int update(Orders orders) {
        System.out.println("執行了--------------------------UpdateOrderStatus 降級服务");

        return 0;
    }
}
